package com.eightbears.beboy.entity;

import java.util.List;

/**
 * Created by Bao on 2017/7/14.
 */

public class HongBaoEntity {

    public static final String TYPE_ALL = "0";
    public static final String TYPE_POST = "1";
    public static final String TYPE_MONEY = "2";
    public static final String TYPE_INTEGRAL = "3";
    public static final String TYPE_SHOPPAY = "4";

    private String message;
    private String status_code;
    private HongBaoData data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getStatus_code() {
        return status_code;
    }

    public void setStatus_code(String status_code) {
        this.status_code = status_code;
    }

    public HongBaoData getData() {
        return data;
    }

    public void setData(HongBaoData data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "HongBaoEntity{" +
                "message='" + message + '\'' +
                ", status_code='" + status_code + '\'' +
                ", data=" + data +
                '}';
    }

    public static class HongBao {

        private String id;
        private String user_id;
        private String template_id;
        private String origin;
        private String type;
        private String status;
        private String point;
        private String limit_point;
        private String money;
        private String limit_money;
        private String end_at;
        private String shop_id;
        private String agent_city_id;
        private String created_at;
        private String updated_at;


        public String getShop_id() {
            return shop_id;
        }

        public void setShop_id(String shop_id) {
            this.shop_id = shop_id;
        }

        public String getAgent_city_id() {
            return agent_city_id;
        }

        public void setAgent_city_id(String agent_city_id) {
            this.agent_city_id = agent_city_id;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getTemplate_id() {
            return template_id;
        }

        public void setTemplate_id(String template_id) {
            this.template_id = template_id;
        }

        public String getOrigin() {
            return origin;
        }

        public void setOrigin(String origin) {
            this.origin = origin;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getPoint() {
            return point;
        }

        public void setPoint(String point) {
            this.point = point;
        }

        public String getLimit_point() {
            return limit_point;
        }

        public void setLimit_point(String limit_point) {
            this.limit_point = limit_point;
        }

        public String getMoney() {
            return money;
        }

        public void setMoney(String money) {
            this.money = money;
        }

        public String getLimit_money() {
            return limit_money;
        }

        public void setLimit_money(String limit_money) {
            this.limit_money = limit_money;
        }

        public String getEnd_at() {
            return end_at;
        }

        public void setEnd_at(String end_at) {
            this.end_at = end_at;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }

        @Override
        public String toString() {
            return "HongBao{" +
                    "id='" + id + '\'' +
                    ", user_id='" + user_id + '\'' +
                    ", template_id='" + template_id + '\'' +
                    ", origin='" + origin + '\'' +
                    ", type='" + type + '\'' +
                    ", status='" + status + '\'' +
                    ", point='" + point + '\'' +
                    ", limit_point='" + limit_point + '\'' +
                    ", money='" + money + '\'' +
                    ", limit_money='" + limit_money + '\'' +
                    ", end_at='" + end_at + '\'' +
                    ", created_at='" + created_at + '\'' +
                    ", updated_at='" + updated_at + '\'' +
                    '}';
        }
    }

    public static class HongBaoData{
        private int next_page;
        private int page_size;
        private int is_end;
        private List<HongBao> list;

        public int getNext_page() {
            return next_page;
        }

        public void setNext_page(int next_page) {
            this.next_page = next_page;
        }

        public int getPage_size() {
            return page_size;
        }

        public void setPage_size(int page_size) {
            this.page_size = page_size;
        }

        public int getIs_end() {
            return is_end;
        }

        public void setIs_end(int is_end) {
            this.is_end = is_end;
        }

        public List<HongBao> getList() {
            return list;
        }

        public void setList(List<HongBao> list) {
            this.list = list;
        }

        @Override
        public String toString() {
            return "HongBaoData{" +
                    "next_page=" + next_page +
                    ", page_size=" + page_size +
                    ", is_end=" + is_end +
                    ", list=" + list +
                    '}';
        }
    }
}
